libbundle.a:bundle.o
	ar -rc libbundle.a bundle.o
bundle.o:bundle.cpp
	g++ -c bundle.cpp -o bundle.o -std=c++11

.PHONY:bundle
bundle:
	mkdir -p ../mylib/lib
	mkdir -p ../mylib/include
	cp -rf *.a ../mylib/lib
	cp -rf *.h ../mylib/include

.PHONY:clean
clean:
	rm -rf *.o libbundle.a bundle
